package com.atguigu.day14.test13;

/**
 * @author fenge
 */
public class Test13 {
    public static void main(String[] args) {
        String str = "1.hello2.world3.java4.string";
        String[] substr;
        str = str.replaceAll("^\\d\\.","");
        String[] split = str.split("\\d\\.");

//        substr = str.split("[0-9][.]");
//        System.out.println(Arrays.toString(substr));
        for (int i = 0; i < split.length; i++) {
            System.out.println(split[i]);
        }

    }
}
